package com.stox.ui.javafx.core.event.handler;

import javafx.event.ActionEvent;
import javafx.event.EventHandler;

import org.springframework.stereotype.Component;

@Component
public class ExitEventHandler implements EventHandler<ActionEvent> {
	
	@Override
	public void handle(ActionEvent arg0) {
		System.exit(0);
	}

}
